/**
 * Copyright (c) Huawei Technologies Co., Ltd. 1987-2021. All rights reserved.
*/

package com.gitee.fufu669.config.exception;

import com.gitee.fufu669.config.exception.CacheErrorMessage;

/** @author wangfupeng */
/**
 * TODO
*/
public class CacheServerErrorCode {

    // 注解
    @CacheErrorMessage("未知错误")
    /**
     * TODO
    */
    public static final String UNKNOWN = "665000";

    // 注解
    @CacheErrorMessage("参数有误")
    /**
     * TODO
    */
    public static final String EXCEPTIONHANDLER_PARAM_ERROR = "665001";

    // 注解
    @CacheErrorMessage("你提供的解密字符串已过期。请检查页面是否长时间没有刷新了")
    /**
     * TODO
    */
    public static final String PASSWORDUTIL_ENCRYPT_KEY_EXPIRED_OR_NOT_FOUND = "665005";

    // 注解
    @CacheErrorMessage("加锁失败，禁止重复访问，描述是{0}")
    /**
     * TODO
    */
    public static final String LOCKWITHREDIS_LOCK_FAILED = "665010";

    // 注解
    @CacheErrorMessage("正在查询中。。。")
    /**
     * TODO
    */
    public static final String CACHEMOCKFETCHLATERAOP_RESULT_NOT_READY = "665020";

    // 注解
    @CacheErrorMessage("初始化CHECKVISITFREQUENCYAOP参数报错")
    /**
     * TODO
    */
    public static final String CHECKVISITFREQUENCYAOP_LIMIT_PROGRAM_AOP_PREFERENCE_ERROR = "665021";

    // 注解
    @CacheErrorMessage("在{0}秒钟内禁止重复访问{3}超过{1}次，你目前访问是第{2}次，请在{0}秒后再试！")
    /**
     * TODO
    */
    public static final String CHECKVISITFREQUENCYAOP_CAN_NOT_VISIT_THIS_RESOURCE_WITH_SECONDS = "665022";

    // 注解
    @CacheErrorMessage("ORDERBY不合法")
    /**
     * TODO
    */
    public static final String CHECKORDERBYAOP_ORDERBY_ILLEGAL = "665023";

}
